package com.central.scheduler.plugin.task.sql;

import com.central.scheduler.spi.params.base.PluginParams;
import com.central.scheduler.spi.task.TaskChannel;
import com.central.scheduler.spi.task.TaskChannelFactory;

import java.util.List;

/**
 * @author Tindy
 * @date 2021/12/23
 * @describe
 */

public class SqlTaskChannelFactory implements TaskChannelFactory {
    @Override
    public String getName() {
        return "SQL";
    }

    @Override
    public List<PluginParams> getParams() {
        return null;
    }

    @Override
    public TaskChannel create() {
        return new SqlTaskChannel();
    }
}